package com.example.forjava.model.builder;

import com.example.forjava.model.builder.entity.House;

public abstract class HouseBuilder {

    protected House house = new House();
    //建设房屋的基本方法，建设根基、建设墙、建设屋顶
    public abstract void buildBasic();
    public abstract void buildWalls();
    public abstract void roofed();

    public House buildHouse() {
        return house;
    }
}
